package alipay.openplatform.edu.campus.jiuye.model.vo;

import alipay.openplatform.edu.campus.jiuye.common.utils.DateJsonDeserializer;
import alipay.openplatform.edu.campus.jiuye.common.utils.DateJsonSerializer;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * Created by yuxi on 16/9/18.
 */
public class TopicInfoVO implements Serializable {
    private Integer id;
    private Integer topicId;
    private Integer topicType;
    private String topicTitle;
    @JsonSerialize(using = DateJsonSerializer.class)
    @JsonDeserialize(using = DateJsonDeserializer.class)
    private Date starttime;
    @JsonSerialize(using = DateJsonSerializer.class)
    @JsonDeserialize(using = DateJsonDeserializer.class)
    private Date createtime;
    private String place;
    private Integer ifLine;
    private List<SchoolVO> schools;
    private List<ImgUrlVO> imgUrls;
    private List<CityVO> cities;
    private String content;
    private String topicName;
    private String status;
    private Integer state;
    private Integer isExpire;
    //add xak 增加 cityId CityName
    private String cityId;
    private String cityName;
    private String schoolId;
    private String schoolName;
    private Integer sort;
    private Boolean ifDel;

    public Boolean getIfDel() {
        return ifDel;
    }

    public void setIfDel(Boolean ifDel) {
        this.ifDel = ifDel;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public String getCityId() {
        return cityId;
    }

    public String getCityName() {
        return cityName;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName;
    }

    public String getSchoolId() {
        return schoolId;
    }

    public void setSchoolId(String schoolId) {
        this.schoolId = schoolId;
    }

    public String getSchoolName() {
        return schoolName;
    }

    public void setSchoolName(String schoolName) {
        this.schoolName = schoolName;
    }

    public void setCityId(String cityId) {
        this.cityId = cityId;
    }


    public Integer getIsExpire() {
        return isExpire;
    }

    public void setIsExpire(Integer isExpire) {
        this.isExpire = isExpire;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public TopicInfoVO(Integer topicId, Integer topicType, String topicTitle, Date starttime, String place, Integer ifLine, List<SchoolVO> schools, List<ImgUrlVO> imgUrls, List<CityVO> cities, String content, String topicName, String status) {
        this.topicId = topicId;
        this.topicType = topicType;
        this.topicTitle = topicTitle;
        this.starttime = starttime;
        this.place = place;
        this.ifLine = ifLine;
        this.schools = schools;
        this.imgUrls = imgUrls;
        this.cities = cities;
        this.content = content;
        this.topicName = topicName;
        this.status = status;
    }

    public TopicInfoVO() {
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public String getTopicName() {
        return topicName;
    }

    public Integer getTopicId() {
        return topicId;
    }

    public void setTopicId(Integer topicId) {
        this.topicId = topicId;
    }

    public void setTopicName(String topicName) {
        this.topicName = topicName;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Integer getTopicType() {
        return topicType;
    }

    public void setTopicType(Integer topicType) {
        this.topicType = topicType;
    }

    public String getTopicTitle() {
        return topicTitle;
    }

    public void setTopicTitle(String topicTitle) {
        this.topicTitle = topicTitle;
    }

    public Date getStarttime() {
        return starttime;
    }

    public void setStarttime(Date starttime) {
        this.starttime = starttime;
    }

    public String getPlace() {
        return place;
    }

    public void setPlace(String place) {
        this.place = place;
    }

    public Integer getIfLine() {
        return ifLine;
    }

    public void setIfLine(Integer ifLine) {
        this.ifLine = ifLine;
    }

    public List<SchoolVO> getSchools() {
        return schools;
    }

    public void setSchools(List<SchoolVO> schools) {
        this.schools = schools;
    }

    public List<ImgUrlVO> getImgUrls() {
        return imgUrls;
    }

    public void setImgUrls(List<ImgUrlVO> imgUrls) {
        this.imgUrls = imgUrls;
    }

    public List<CityVO> getCities() {
        return cities;
    }

    public void setCities(List<CityVO> cities) {
        this.cities = cities;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

}
